import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'

export default defineUniPages({
  pages: [],
  globalStyle: {
    navigationStyle: 'custom',
    navigationBarTitleText: 'Wot-Demo',
    navigationBarTextStyle: 'white',
  },
  subPackages: [
    {
      root: 'homePages',
      pages: [
        {
          path: 'post/index',
          style: {
            navigationStyle: 'default',
            navigationBarTitleText: '详请页面',
            enablePullDownRefresh: false,
          },
        },
      ],
    },
  ],
})
